<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta charset="utf-8">
	<title>海事电子政务协同审批平台</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
	<meta name="description" content="">
	<meta name="author" content="">
	
	<script type="text/javascript">
	function basePath(){
	    //获取当前网址，如： http://localhost:8080/ems/Pages/Basic/Person.jsp
	    var curWwwPath = window.document.location.href;
	    //获取主机地址之后的目录，如： /ems/Pages/Basic/Person.jsp
	    var pathName = window.document.location.pathname;
	    var pos = curWwwPath.indexOf(pathName);
	    //获取主机地址，如： http://localhost:8080
	    var localhostPath = curWwwPath.substring(0, pos);
	    //获取带"/"的项目名，如：/ems
	    var projectName = pathName.substring(0, pathName.substr(1).indexOf('/') + 1);
	    //获取项目的basePath   http://localhost:8080/ems/
	    var basePath=localhostPath+projectName+"/";
	    return basePath;
	};
	
// 	alert(document.getElementById("img404"));//.src = basePath() + "error/404.jpg";
	
// 	alert(document.getElementById("img").src);
	
	function load()	{
	 	document.getElementById("img404").src = basePath() + "error/404.jpg";
	 	document.getElementById("toindex").href = basePath() + "index.html";
	}
	</script>
</head>
<body onload="load()">
	<div style="text-align: center; margin-top: 200px;">
		<img id="img404" alt="" style="width: 300px;">
	</div>
	<div style="text-align: center; font-weight: 900; font-family: sans-serif; color:#CC0033; font-size: 30px;">
		功能建设中。
		<span style="text-align: center; font-weight: 900; font-family: sans-serif; font-size: 20px; ">
		<a id="toindex" style="color:#242424;">返回首页>></a>
		</span>
	</div>
	
</body>
</html>